package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.RecommendUser;

import java.util.List;

public interface RecommendUserApi {

    //根据touserId查询缘分值最高的推荐数据
    RecommendUser findWithMaxScore(Long toUserId);


    //根据toUserId分页查询推荐数据
    List<RecommendUser> findRecommentUserList(Long toUserId, Integer page, Integer pagesize);

    //根据用户id和toUserId查询推荐数据
    RecommendUser queryByUserId(Long userId, Long toUserId);
}
